* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1.5625vw;
    font-family: "微软雅黑";
}

html, body {
    width: 100%;
    height: 100%;
    color: #444;
    overflow: hidden;
}

.container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/*第一页*/
#page1, #page2, #page3 {
    width: 100%;
    height: 100%;
    position: absolute;
}

#page1 {
    background: url("img/p1_bg.jpg") no-repeat;
    background-size: 100% 100%;
    display: block;
    z-index: 3;
}

.music {
    width: 15vw;
    height: 15vw;
    border: 4px solid red;
    border-radius: 50%;
    position: fixed;
    top: 5vw;
    right: 5vw;
    background: #fff;
    z-index: 99;
}

.music img:first-child {
    width: 80%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.disc {
    animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.music img:last-child {
    position: absolute;
    right: 0;
    top: 20px;
    width: 25%;
}

.lantern {
    width: 45vw;
    height: 71vh;
    position: absolute;
    top: -4%;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 1;
}

.imooc {
    width: 30vw;
    position: absolute;
    bottom: 35px;
    right: 0;
    left: 0;
    margin: auto;
}

.click {
    width: 50vw;
    height: 50vw;
    background: red;
    border-radius: 50%;
    box-shadow: 0 0 20px 10px red;
    text-align: center;
    position: absolute;
    top: 16vh;
    right: 0;
    left: 0;
    margin: auto;
    font-size: 4rem;
    color: #fff;
    z-index: 2;
    padding-top: 60px;
    box-sizing: border-box;
    animation: font 1s infinite alternate;
}

@keyframes font {
    0% {
        opacity: .5;
        transform: scale(.8);
    }
    100% {
        opacity: .8;
    }
}

.info {
    position: absolute;
    bottom: 30px;
    right: 0;
    left: 0;
    margin: auto;
    font-size: 2.5rem;
    text-align: center;
}

/*第二页*/
#page2 {
    background: url("img/p2_bg.jpg") no-repeat;
    background-size: cover;
    display: none;
    z-index: 2;
    top: 0;
    transition: all .5s; /*这种过渡可以代替下面的动画*/
}

.page2 {
    transform: translate(0, -100%); /*这种过渡可以代替注释掉的动画*/
    /*animation: page2-animate .5s forwards;*/
}

/*@keyframes page2-animate {
    0% {
        top: 0;
    }
    100% {
        top: -100%;
    }
}*/

#page2 .circle_outer {
    width: 63vw;
    height: 63vw;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    background: url("img/p2_circle_outer.png") no-repeat center center;
    background-size: 100% 100%;
    animation: outer-animate 1s linear 3s infinite;
}

@keyframes outer-animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

.white {
    width: 100%;
    height: 100%;
    background: #fff;
    animation: opacity 1s forwards;
}

@keyframes opacity {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

#page2 img {
    width: 30%;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom:0;
    margin: auto;
}

#page2 .circle_outer:before {
    content: "";
    display: block;
    width: 50vw;
    height: 50vw;
    background: url("img/p2_circle_middle.png") no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    animation: after-animate 1s linear 2s infinite;
}

@keyframes after-animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(720deg);
    }
}

#page2 .circle_outer:after {
    content: "";
    display: block;
    width: 38vw;
    height: 38vw;
    background: url("img/p2_circle_inner.png") no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    animation: before-animate 1s linear 1s infinite;
}

@keyframes before-animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-1080deg);
    }
}

/*page3*/
#page3 {
    background: url("img/p3_bg.jpg") no-repeat;
    background-size: 100% 100%;
    display: none;
    z-index: 1;
    top: 100%;
    transition: all .5s; /*这种过渡可以代替下面的动画*/
}

.page3 {
    transform: translate(0, -100%); /*这种过渡可以代替下面的动画*/
    /*animation: page3-animate .5s forwards;*/
}

/*@keyframes page3-animate {
    0% {
        top: 100%;
    }
    100% {
        top: 0;
    }
}*/

.logo {
    width: 38vw;
    position: absolute;
    top: 10vw;
    left: 0;
    right: 0;
    margin: auto;
}

.couplet-rt {
    width: 23vw;
    height: 40vh;
    position: absolute;
    top: 28vh;
    right: 4vw;
}

.couplet-lt {
    width: 23vw;
    height: 40vh;
    position: absolute;
    top: 28vh;
    left: 4vw;
}

.bless {
    width: 30vw;
    position: absolute;
    bottom: 11vh;
    left: 0;
    right: 0;
    margin: auto;
    animation: bless-animate 1.5s linear infinite;
}

@keyframes bless-animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.title {
    width: 50vw;
    height: 51vh;
    position: absolute;
    top: 23vh;
    left: 0;
    right: 0;
    margin: auto;
}